package com.secxiot.provider.user.dao;

import com.secxiot.provider.user.entity.UserExtra;
import com.secxiot.provider.user.entity.UserExtraExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserExtraDao {
    int countByExample(UserExtraExample example);

    int deleteByExample(UserExtraExample example);

    int deleteByPrimaryKey(Long id);

    int insert(UserExtra record);

    int insertSelective(UserExtra record);

    List<UserExtra> selectByExample(UserExtraExample example);

    UserExtra selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") UserExtra record, @Param("example") UserExtraExample example);

    int updateByExample(@Param("record") UserExtra record, @Param("example") UserExtraExample example);

    int updateByPrimaryKeySelective(UserExtra record);

    int updateByPrimaryKey(UserExtra record);
}